import type { XtxGuessInstance } from "@/types/components"
import { ref } from "vue"

export const useGuess = () => {
  const guessRef = ref<XtxGuessInstance>()
  const onScrollToLower = () => {
    guessRef.value?.getMore()
  }
  return {
    guessRef,
    onScrollToLower
  }
}
